package com.android.camera.animation;

import android.animation.TimeInterpolator;
import android.view.View;

/**
 * The parent class of all animation classes.
 */
public abstract class Animation {

    public static final int DIRECTION_LEFT = 1;
    public static final int DIRECTION_RIGHT = 2;
    public static final int DIRECTION_UP = 3;
    public static final int DIRECTION_DOWN = 4;

    public static final int DURATION_DEFAULT = 300;
    public static final int DURATION_SHORT = 100;
    public static final int DURATION_LONG = 500;

    int mDelay;
    long mDuration = DURATION_DEFAULT;
    AnimationListener mListener;
    TimeInterpolator mInterpolator;
    View mView;

    public abstract void animate();

}
